package com.hw.esay.answer;

import java.util.*;

public class Test {

    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        String str = "3,6,...,99";
        char[] chars = str.toCharArray();
        int a = chars[2] - chars[0];
        String cha = str.substring(8);
        int last = Integer.parseInt(str.substring(8));
        int b = chars[2];
        String c = String.valueOf(chars[2]);
        int num = last;
        System.out.println(chars[2]);
        System.out.println(b);
        System.out.println(a);
        System.out.println(num);
        System.out.println(c);
    }
}